package mvc.bezier;

public class BezierPanelController extends BezierSetter {

	public BezierPanelController(BezierModel model) {
		super(model);		
	}

	public void setCurvePoints(boolean b) {
		BezierView3D.curvePointVisibility = b;
		BezierView2D.curvePointVisibility = b;
		model.notifyAllViews();
	}
	
	public void setControlPoints(boolean b) {
		BezierView3D.controlPointVisibility = b;
		BezierView2D.curvePointVisibility = b;
		model.notifyAllViews();
	}

}
